#include "Log.hpp"
using namespace MyLogModule;

void fun()
{
    int a = 10;
    LOG(DEBUG) << "hello world" << 1234 << ", 3.14" << 'c' << a;
}

int main()
{
    ENABLE_CONSOLE_LOG_STRATEGY(); //控制台
    LOG(DEBUG) << "hello world";
    LOG(NORMAL) << "hello world";
    LOG(DEBUG) << "hello world";
    ENABLE_FILE_LOG_STRATEGY();     //文件
    LOG(ERROR) << "hello world";
    LOG(DEBUG) << "hello world";
    LOG(WARNING) << "hello world";
    fun();
    return 0;
}